﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class SystemTbItem
    {
        /// <summary>
        /// drugid
        /// </summary>
        public int? ItemCode { get; set; }
        /// <summary>
        /// drugNewId
        /// </summary>
        public int? NewItemCode { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string? ItemName { get; set; }
        public string? InputCode1 { get; set; }
        public string? InputCode2 { get; set; }
        public string? InputCode3 { get; set; }
        /// <summary>
        /// 类别(bigclass)
        /// </summary>
        public int? ItemCategory { get; set; }
        /// <summary>
        /// 二级类别(可以为null)
        /// </summary>
        public int? ChildItemCategory { get; set; }
        /// <summary>
        /// 门诊可价格
        /// </summary>
        public decimal? ClinicExpensePrice { get; set; }
        /// <summary>
        /// 门诊不可报
        /// </summary>
        public decimal? ClinicNonExpensePrice { get; set; }
        /// <summary>
        /// 门诊包装因子
        /// </summary>
        public int? ClinicQty { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? ClinicUnit { get; set; }
        /// <summary>
        /// 住院单位
        /// </summary>
        public string? WardUnit { get; set; }
        /// <summary>
        /// 剂量
        /// </summary>
        public double? Dosage { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? DosageUnit { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? DrugGuage { get; set; }
        /// <summary>
        /// 执行科室
        /// </summary>
        public int? ExeDept { get; set; }
        /// <summary>
        /// 是否停用
        /// </summary>
        public int? Stopped { get; set; }
        /// <summary>
        /// 甲乙类
        /// </summary>
        public int? Abclass { get; set; }
        /// <summary>
        /// 产地
        /// </summary>
        public string? ProductPlace { get; set; }
        /// <summary>
        /// 批发价
        /// </summary>
        public double? TradePrice { get; set; }
        /// <summary>
        /// 零售价
        /// </summary>
        public double? RetailPrice { get; set; }
        /// <summary>
        /// 遗嘱类型（药品）
        /// </summary>
        public string? ItemTypeToAdv { get; set; }
        /// <summary>
        /// 医保编码（物价代码）
        /// </summary>
        public string? CheckCode { get; set; }
        /// <summary>
        /// 门诊id
        /// </summary>
        public int? MzItemId { get; set; }
        /// <summary>
        /// 住院id
        /// </summary>
        public int? WardItemId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? Creator { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 更改人
        /// </summary>
        public int? Updater { get; set; }
        /// <summary>
        /// 更改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        public int? Stopper { get; set; }
        public DateTime? StopTime { get; set; }
        /// <summary>
        /// 使用范围(0全部，1门诊，2住院)
        /// </summary>
        public int? UseRange { get; set; }
        public int? HospitalId { get; set; }
        /// <summary>
        /// 住院可价格
        /// </summary>
        public decimal? WardExpensePrice { get; set; }
        /// <summary>
        /// 住院不可报
        /// </summary>
        public decimal? WardNonExpensePrice { get; set; }
        /// <summary>
        /// 急门诊项目id
        /// </summary>
        public string? JItemCode { get; set; }
        /// <summary>
        /// 急门诊项目类型id
        /// </summary>
        public string? JItemCategory { get; set; }
    }
}
